package cn.lizemin.review;

import java.util.Queue;
import java.util.Stack;

/**
 * @author: lizemin
 * @version: 1.0
 */
abstract class Cat {
    public Cat() {
    }

    private static void say(){
        System.out.println("nobody");

    }

    protected abstract void say2();


    //这是一个main方法,是程序的入口
    public static void main(String[] args) {
        String str = "10";
        String str2 = "20";
        String str3 = "30";
        String str4 = "40";
        String str5 = "50";
        Stack stack = new Stack();
        stack.add(str);
        stack.add(str2);
        stack.add(str3);
        stack.add(str4);
        stack.add(str5);
        stack.pop();
        System.out.println(stack);



    }
}
